package com.example.crm01.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.crm01.entity.system.Role;
import com.example.crm01.service.form.BaseIdForm;
import com.example.crm01.service.form.system.RoleAddForm;
import com.example.crm01.service.form.system.RoleListForm;


public interface RoleService extends IService<Role> {
    Page<Role> listRole(RoleListForm form);

    Boolean addRole(RoleAddForm form);

    Boolean updateRole(RoleAddForm form);

    Boolean deleteRole(BaseIdForm form);
}
